home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
games
/
drgnb12a.zip
/
FACTORY.DOC
< prev
next >
Wrap
Text File
|
1996-04-30
|
26KB
|
517 lines
Tile Factory
Version 1.21 April 30, 1996
Nels Anderson
585 Edmands Road
Framingham, MA 01701-3088
U.S.A.
USING TILE FACTORY
The Tile Factory utility allows you to make your own sets of tiles or
modify sets made by others. These tiles can be used with my solitaire
games Dragons Bane: Mah Jongg II and Second Guess. The editor supports
both SVGA (256 color mode) and standard VGA (16 color mode). You can
recognize tile sets by the file extension .TL (for 256 color tiles) and
.TLV (for 16 color tiles). Please note that these are not compatible with
my earlier EGA tile games and the tiles from those games are not
compatible with the VGA/SVGA games though they can be loaded, edited and
saved in the new format using Tile Factory.
The utility is similar to many paint programs with which you might be
familiar, though because of its specialized nature it includes less
functions. Tile Factory requires a mouse and VGA or SuperVGA graphics
(640x480, 256 colors).
The best thing to do is get Tile Factory running and experiment. You'll
find designing good tiles is quite a challenge, but it will allow you to
have your own personalized version of the game when you're done.
You might want to look at other tile sets to see some of the techniques
used. Because the drawing area is so small you often have to trick the eye
to get the effect you want. One thing to avoid is changing the sloping
sides of the tiles. Generally this will ruin the 3D effect and simply
doesn't look good when tiles are stacked up. The little triangular areas
in the upper-left and lower-right corners should also be left alone as
these are needed to make that portion of the tile see through when used
in the game.
HOW TILES ARE STORED ON DISK
First, some basics about working with tile sets. A Mah Jongg tile set
includes 42 different tiles. Eight of them are in the "wild card" suits
(normally the flowers and seasons suits) where any tile in the suit
matches any other. The other 34 tiles use the standard matching rule where
there are four of each tile on the board and the tiles must be matched
exactly to be removed. You'll want to keep the matching rules in mind when
designing tiles for compatibility with Dragons Bane: Mah Jongg II.
Second Guess only needs 36 tiles. Tiles 1 through 34 are used plus tiles
35 and 39.
All 42 tiles are stored in a single disk file. You'll need to know how the
tiles are numbered so that you store your new tiles in the proper place.
For reference, the standard Mah Jongg tile set is numbered as follows:
Tiles 1 - 9: suit of dots
Tile 10: white dragon
Tiles 11 - 19: suit of bamboo
Tile 20: green dragon
Tiles 21 - 29: suit of characters
Tile 30: red dragon
Tiles 31 - 34: suit of winds
Tiles 35 - 38: suit of seasons
Tiles 39 - 42: suit of flowers
GETTING STARTED
Start up "FACTORY.EXE" by typing "factory" on the command line. You can
include the name of a tile set file on the command line and that tile set
will be immediately loaded once Tile Factory starts up. Note the drawing
area on the left and the tile set display on the right. If you did not
include a tile set name on the command line the tile set displayed will be
blank, but as soon as you read in a tile set it will be shown.
The editor will automatically start up in the best available graphics mode.
If Tile Factory can run in 256 color mode it will, otherwise it will run
in standard 16 color VGA mode. Some systems that do support 256 colors
must be forced to use a VESA driver instead of the video card's native
mode. If your card does support 256 colors but won't display properly,
try forcing VESA graphics using this command:
FACTORY -Z
If you wish you can force the editor to run in 16 color mode by using a
command line option. To force 16 color VGA start up the editor with this
command:
FACTORY -16
Please note that the space and dash are required.
Some people have a problem with the mouse sensitivity and you can also
use a command line option to adjust this. Use this command:
FACTORY -M#
where the # is replaced with a number between 1 and 6. Lower numbers
will make the mouse move faster; the default value is 4. You can also
change the mouse sensitivity at any time while using Tile Factory by
hitting the F9 key.
Once the editor is running, along the top of the screen are a series of
menus you can select. If you're using a mouse you just need to point to
the word you want and click. If using the keyboard you can use the
functions keys (each menu is numbered sequentially so Help is F1, Info is
F2, etc.). You can also select menus by holding down the Alt key while
also hitting the first letter of the menu name; for example, you'd hit
Alt-F to open the File menu.
DRAWING
Normal drawing (single dot at a time) can be done with the keyboard or
mouse. Using the mouse, select the desired color by pointing at the color
chart and clicking. Then to draw just point at the drawing area and click
on each spot where you want to draw.
Because it's common to switch back and forth between two colors, Tile
Factory remembers the last color you've selected as well as the current
one. Use the right mouse button at any time to toggle back and forth
between the current and previous drawing color.
There are a few basic drawing shapes available in addition to the simple
dot. Under the drawing area is a set of push buttons where you can select
dots, line, circle, rectangle, filled circle or box. Click on the desired
button and you'll see it push in to confirm proper selection.
When using the line or rectangles, move the mouse cursor to one end
(corner) and hold down the mouse button. Then move to the other end
(corner) and release the button. When using the circles you start in the
center and pull away until the circle is the desired size. You can pull in
any direction since the circle is symmetrical.
The seventh drawing tool is a special one. It allows you to outline an
area and then change all pixels within that area that are a specific color
into a different color. Select this tool and then outline a rectangle just
as you would with the rectangle drawing tool. When the area you want is
outlined, release the mouse button. You'll be prompted to select the
color you want to change; point anywhere you want on the screen and click
when pointing to the desired color. Then you'll be prompted for the color
you want to change to; again you can point anywhere on the screen and
click. Now the selected color will change.
The eighth function is fill. Using this function you can fill in an area
of any shape with the currently selected color. When you select fill the
cursor will change to the word "FILL" with a little target to the upper
left. Position the target in the area you want filled and click to fill.
Using the keyboard you can fill by moving the keyboard cursor within the
area to be filled and hitting the Z key.
Fill can also use a range of colors instead of just a single color.
Instead of left clicking, click the center button (or both buttons if you
have a two button mouse). You'll be prompted for a range of colors similar
to the shade function and the area will be filled with randomly selected
colors from the range you chose.
The ninth function is text entry. Because of the small size of the tiles
only two simple fonts are used. The smaller font is 5 pixels high and the
larger one is 7 pixels high. Several different widths are available and
Tile Factory will try to use the widest characters possible given the space
available. Depending on whether you have border set on or off (from the
Text menu) the letters may go right to the edge of the tile face or a one
pixel border will be enforced.
To enter text, position the mouse to the upper left corner